﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace RM2012Service.Business
{
    public class InvoiceInfo
    {
        private string invoiceId;
        public string InvoiceId
        {
            get { return invoiceId; }
            set { invoiceId = value; }
        }
        private DateTime invoiceDate;
        public System.DateTime InvoiceDate
        {
            get { return invoiceDate; }
            set { invoiceDate = value; }
        }
        private string cusId;
        public string CusId
        {
            get { return cusId; }
            set { cusId = value; }
        }
        private string tablesId;
        public string TablesId
        {
            get { return tablesId; }
            set { tablesId = value; }
        }
        private double total;
        public double Total
        {
            get { return total; }
            set { total = value; }
        }
        private double paid;
        public double Paid
        {
            get { return paid; }
            set { paid = value; }
        }
        private bool isDeleted;
        public bool IsDeleted
        {
            get { return isDeleted; }
            set { isDeleted = value; }
        }
        private bool isPaid;
        public bool IsPaid
        {
            get { return isPaid; }
            set { isPaid = value; }
        }
        private double discountPer;
        public double DiscountPer
        {
            get { return discountPer; }
            set { discountPer = value; }
        }
        private string remark;
        public string Remark
        {
            get { return remark; }
            set { remark = value; }
        }
        public InvoiceInfo()
        {

        }

        public InvoiceInfo(string invoiceId, DateTime invoiceDate, string cusId, string tablesId, double total, double paid, bool isDeleted, bool isPaid, double discountPer, string remark)
        {
            this.invoiceId = invoiceId;
            this.invoiceDate = invoiceDate;
            this.cusId = cusId;
            this.tablesId = tablesId;
            this.total = total;
            this.paid = paid;
            this.isDeleted = isDeleted;
            this.isPaid = isPaid;
            this.discountPer = discountPer;
            this.remark = remark;
        }
    }
}
